﻿using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;

namespace Minecraft_Armor_Stand_Creater.Resource.Pages
{
    /// <summary>
    /// About.xaml 的交互逻辑
    /// </summary>
    public partial class AboutPage : Page
    {
        public AboutPage()
        {
            Loaded += Page_Loaded;

            InitializeComponent();

            Back.Click += Back_Click;
            feedback.Click += Feedback_Click;
            Donate.Click += Donate_Click;
        }

        void Page_Loaded(object sender, RoutedEventArgs e)
        {

        }

        void Back_Click(object sender, RoutedEventArgs e) => NavigationService.GoBack();

        void Feedback_Click(object sender, RoutedEventArgs e) => Process.Start("http://www.mcbbs.net/thread-580119-1-1.html");

        void Donate_Click(object sender, RoutedEventArgs e) => Process.Start("https://afdian.net/@MsYqgzt");
    }
}
